package com.echo.yixiaowu.main.page.following

import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import com.echo.yixiaowu.data.model.player.CardContentType
import com.echo.yixiaowu.route.AppRoute

@Composable
fun FollowingPage(
    modifier: Modifier = Modifier,
    onNavigate: (AppRoute) -> Unit
) {
    Box(
        modifier = modifier
            .fillMaxSize()
            .clickable {
                onNavigate.invoke(
                    AppRoute.Detail(
                        itemId = "1",
                        itemType = CardContentType.VIDEO.toString()
                    )
                )
            },
        contentAlignment = Alignment.Center
    ) {
        Text("关注界面")
    }
}